
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8" />
  <title>CMake 3.5 Release Notes &mdash; CMake 3.16.5 Documentation</title>

    <link rel="stylesheet" href="../_static/cmake.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="../_static/language_data.js"></script>
    
    <link rel="shortcut icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMake 3.4 Release Notes" href="3.4.html" />
    <link rel="prev" title="CMake 3.6 Release Notes" href="3.6.html" />
  
 

  </head><body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="3.4.html" title="CMake 3.4 Release Notes"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="3.6.html" title="CMake 3.6 Release Notes"
             accesskey="P">previous</a> |</li>
  <li>
    <img src="../_static/cmake-logo-16.png" alt=""
         style="vertical-align: middle; margin-top: -2px" />
  </li>
  <li>
    <a href="https://cmake.org/">CMake</a> &#187;
  </li>
  <li>
    <a href="../index.html">3.16.5 Documentation</a> &#187;
  </li>

          <li class="nav-item nav-item-1"><a href="index.html" accesskey="U">CMake Release Notes</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="cmake-3-5-release-notes">
<h1><a class="toc-backref" href="#id1">CMake 3.5 Release Notes</a><a class="headerlink" href="#cmake-3-5-release-notes" title="Permalink to this headline">¶</a></h1>
<div class="contents topic" id="contents">
<p class="topic-title">Contents</p>
<ul class="simple">
<li><p><a class="reference internal" href="#cmake-3-5-release-notes" id="id1">CMake 3.5 Release Notes</a></p>
<ul>
<li><p><a class="reference internal" href="#new-features" id="id2">New Features</a></p>
<ul>
<li><p><a class="reference internal" href="#gui" id="id3">GUI</a></p></li>
<li><p><a class="reference internal" href="#command-line" id="id4">Command-Line</a></p></li>
<li><p><a class="reference internal" href="#commands" id="id5">Commands</a></p></li>
<li><p><a class="reference internal" href="#variables" id="id6">Variables</a></p></li>
<li><p><a class="reference internal" href="#properties" id="id7">Properties</a></p></li>
<li><p><a class="reference internal" href="#modules" id="id8">Modules</a></p></li>
<li><p><a class="reference internal" href="#platforms" id="id9">Platforms</a></p></li>
<li><p><a class="reference internal" href="#cpack" id="id10">CPack</a></p></li>
<li><p><a class="reference internal" href="#other" id="id11">Other</a></p></li>
</ul>
</li>
<li><p><a class="reference internal" href="#deprecated-and-removed-features" id="id12">Deprecated and Removed Features</a></p></li>
<li><p><a class="reference internal" href="#other-changes" id="id13">Other Changes</a></p></li>
</ul>
</li>
</ul>
</div>
<p>Changes made since CMake 3.4 include the following.</p>
<div class="section" id="new-features">
<h2><a class="toc-backref" href="#id2">New Features</a><a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h2>
<div class="section" id="gui">
<h3><a class="toc-backref" href="#id3">GUI</a><a class="headerlink" href="#gui" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>The <span class="target" id="index-0-manual:cmake-gui(1)"></span><a class="reference internal" href="../manual/cmake-gui.1.html#manual:cmake-gui(1)" title="cmake-gui(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-gui(1)</span></code></a> gained options to control warnings about
deprecated functionality.</p></li>
<li><p>The <span class="target" id="index-1-manual:cmake-gui(1)"></span><a class="reference internal" href="../manual/cmake-gui.1.html#manual:cmake-gui(1)" title="cmake-gui(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-gui(1)</span></code></a> learned an option to set the toolset
to be used with VS IDE and Xcode generators, much like the
existing <code class="docutils literal notranslate"><span class="pre">-T</span></code> option to <span class="target" id="index-0-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake(1)</span></code></a>.</p></li>
<li><p>The <span class="target" id="index-2-manual:cmake-gui(1)"></span><a class="reference internal" href="../manual/cmake-gui.1.html#manual:cmake-gui(1)" title="cmake-gui(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-gui(1)</span></code></a> gained a Regular Expression Explorer which
may be used to create and evaluate regular expressions in real-time.
The explorer window is available via the <code class="docutils literal notranslate"><span class="pre">Tools</span></code> menu.</p></li>
</ul>
</div>
<div class="section" id="command-line">
<h3><a class="toc-backref" href="#id4">Command-Line</a><a class="headerlink" href="#command-line" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>The <code class="docutils literal notranslate"><span class="pre">-Wdev</span></code> and <code class="docutils literal notranslate"><span class="pre">-Wno-dev</span></code> <span class="target" id="index-1-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake(1)</span></code></a> options now also enable
and suppress the deprecated warnings output by default.</p></li>
<li><p>The suppression of developer warnings as errors can now be controlled with
the new <code class="docutils literal notranslate"><span class="pre">-Werror=dev</span></code> and <code class="docutils literal notranslate"><span class="pre">-Wno-error=dev</span></code> <span class="target" id="index-2-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake(1)</span></code></a> options.</p></li>
<li><p>The <span class="target" id="index-3-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake(1)</span></code></a> <code class="docutils literal notranslate"><span class="pre">-E</span></code> command-line tools <code class="docutils literal notranslate"><span class="pre">copy</span></code>,
<code class="docutils literal notranslate"><span class="pre">copy_if_different</span></code>, <code class="docutils literal notranslate"><span class="pre">copy_directory</span></code>, and <code class="docutils literal notranslate"><span class="pre">make_directory</span></code>
learned to support multiple input files or directories.</p></li>
</ul>
</div>
<div class="section" id="commands">
<h3><a class="toc-backref" href="#id5">Commands</a><a class="headerlink" href="#commands" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>The <span class="target" id="index-0-command:cmake_parse_arguments"></span><a class="reference internal" href="../command/cmake_parse_arguments.html#command:cmake_parse_arguments" title="cmake_parse_arguments"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">cmake_parse_arguments()</span></code></a> command is now implemented natively.
The <span class="target" id="index-0-module:CMakeParseArguments"></span><a class="reference internal" href="../module/CMakeParseArguments.html#module:CMakeParseArguments" title="CMakeParseArguments"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">CMakeParseArguments</span></code></a> module remains as an empty placeholder
for compatibility.</p></li>
<li><p>The <span class="target" id="index-0-command:install"></span><a class="reference internal" href="../command/install.html#command:install" title="install"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">install(DIRECTORY)</span></code></a> command learned to support
<span class="target" id="index-0-manual:cmake-generator-expressions(7)"></span><a class="reference internal" href="../manual/cmake-generator-expressions.7.html#manual:cmake-generator-expressions(7)" title="cmake-generator-expressions(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">generator</span> <span class="pre">expressions</span></code></a>
in the list of directories.</p></li>
</ul>
</div>
<div class="section" id="variables">
<h3><a class="toc-backref" href="#id6">Variables</a><a class="headerlink" href="#variables" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>The <span class="target" id="index-0-variable:CMAKE_ERROR_DEPRECATED"></span><a class="reference internal" href="../variable/CMAKE_ERROR_DEPRECATED.html#variable:CMAKE_ERROR_DEPRECATED" title="CMAKE_ERROR_DEPRECATED"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CMAKE_ERROR_DEPRECATED</span></code></a> variable can now be set using the
<code class="docutils literal notranslate"><span class="pre">-Werror=deprecated</span></code> and <code class="docutils literal notranslate"><span class="pre">-Wno-error=deprecated</span></code> <span class="target" id="index-4-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake(1)</span></code></a>
options.</p></li>
<li><p>The <span class="target" id="index-0-variable:CMAKE_WARN_DEPRECATED"></span><a class="reference internal" href="../variable/CMAKE_WARN_DEPRECATED.html#variable:CMAKE_WARN_DEPRECATED" title="CMAKE_WARN_DEPRECATED"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CMAKE_WARN_DEPRECATED</span></code></a> variable can now be set using the
<code class="docutils literal notranslate"><span class="pre">-Wdeprecated</span></code> and <code class="docutils literal notranslate"><span class="pre">-Wno-deprecated</span></code> <span class="target" id="index-5-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake(1)</span></code></a> options.</p></li>
</ul>
</div>
<div class="section" id="properties">
<h3><a class="toc-backref" href="#id7">Properties</a><a class="headerlink" href="#properties" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>The <span class="target" id="index-0-prop_tgt:VS_GLOBAL_&lt;variable&gt;"></span><a class="reference internal" href="../prop_tgt/VS_GLOBAL_variable.html#prop_tgt:VS_GLOBAL_&lt;variable&gt;" title="VS_GLOBAL_&lt;variable&gt;"><code class="xref cmake cmake-prop_tgt docutils literal notranslate"><span class="pre">VS_GLOBAL_&lt;variable&gt;</span></code></a> target property is now implemented
for VS 2010 and above.  Previously it worked only in VS 2008 and below.</p></li>
</ul>
</div>
<div class="section" id="modules">
<h3><a class="toc-backref" href="#id8">Modules</a><a class="headerlink" href="#modules" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>The <span class="target" id="index-0-module:ExternalProject"></span><a class="reference internal" href="../module/ExternalProject.html#module:ExternalProject" title="ExternalProject"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">ExternalProject</span></code></a> module learned a new <code class="docutils literal notranslate"><span class="pre">GIT_REMOTE_NAME</span></code>
option to control the <code class="docutils literal notranslate"><span class="pre">git</span> <span class="pre">clone</span> <span class="pre">--origin</span></code> value.</p></li>
<li><p>The <span class="target" id="index-0-module:FindBoost"></span><a class="reference internal" href="../module/FindBoost.html#module:FindBoost" title="FindBoost"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindBoost</span></code></a> module now provides imported targets
such as <code class="docutils literal notranslate"><span class="pre">Boost::boost</span></code> and <code class="docutils literal notranslate"><span class="pre">Boost::filesystem</span></code>.</p></li>
<li><p>The <span class="target" id="index-0-module:FindFLEX"></span><a class="reference internal" href="../module/FindFLEX.html#module:FindFLEX" title="FindFLEX"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindFLEX</span></code></a> module <code class="docutils literal notranslate"><span class="pre">FLEX_TARGET</span></code> macro learned a
new <code class="docutils literal notranslate"><span class="pre">DEFINES_FILE</span></code> option to specify a custom output header
to be generated.</p></li>
<li><p>The <span class="target" id="index-0-module:FindGTest"></span><a class="reference internal" href="../module/FindGTest.html#module:FindGTest" title="FindGTest"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindGTest</span></code></a> module now provides imported targets.</p></li>
<li><p>The <span class="target" id="index-0-module:FindGTK2"></span><a class="reference internal" href="../module/FindGTK2.html#module:FindGTK2" title="FindGTK2"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindGTK2</span></code></a> module, when <code class="docutils literal notranslate"><span class="pre">GTK2_USE_IMPORTED_TARGETS</span></code> is
enabled, now sets <code class="docutils literal notranslate"><span class="pre">GTK2_LIBRARIES</span></code> to contain the list of imported
targets instead of the paths to the libraries.  Moreover it now sets
a new <code class="docutils literal notranslate"><span class="pre">GTK2_TARGETS</span></code> variable containing all the targets imported.</p></li>
<li><p>The <span class="target" id="index-0-module:FindOpenMP"></span><a class="reference internal" href="../module/FindOpenMP.html#module:FindOpenMP" title="FindOpenMP"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindOpenMP</span></code></a> module learned to support Clang.</p></li>
<li><p>The <span class="target" id="index-0-module:FindOpenSSL"></span><a class="reference internal" href="../module/FindOpenSSL.html#module:FindOpenSSL" title="FindOpenSSL"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindOpenSSL</span></code></a> module gained a new
<code class="docutils literal notranslate"><span class="pre">OPENSSL_MSVC_STATIC_RT</span></code> option to search for libraries using
the MSVC static runtime.</p></li>
<li><p>The <span class="target" id="index-0-module:FindPNG"></span><a class="reference internal" href="../module/FindPNG.html#module:FindPNG" title="FindPNG"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindPNG</span></code></a> module now provides imported targets.</p></li>
<li><p>The <span class="target" id="index-0-module:FindTIFF"></span><a class="reference internal" href="../module/FindTIFF.html#module:FindTIFF" title="FindTIFF"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindTIFF</span></code></a> module now provides imported targets.</p></li>
<li><p>A <span class="target" id="index-0-module:FindXalanC"></span><a class="reference internal" href="../module/FindXalanC.html#module:FindXalanC" title="FindXalanC"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindXalanC</span></code></a> module was introduced to find the
Apache Xalan-C++ XSL transform processing library.</p></li>
<li><p>The <span class="target" id="index-0-module:FindXercesC"></span><a class="reference internal" href="../module/FindXercesC.html#module:FindXercesC" title="FindXercesC"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindXercesC</span></code></a> module now provides imported targets.</p></li>
</ul>
</div>
<div class="section" id="platforms">
<h3><a class="toc-backref" href="#id9">Platforms</a><a class="headerlink" href="#platforms" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Support was added for the ARM Compiler (arm.com) with compiler id <code class="docutils literal notranslate"><span class="pre">ARMCC</span></code>.</p></li>
<li><p>A new platform file for cross-compiling in the Cray Linux Environment to
target compute nodes was added.  See
<a class="reference internal" href="../manual/cmake-toolchains.7.html#cray-cross-compile"><span class="std std-ref">Cross Compiling for the Cray Linux Environment</span></a>
for usage details.</p></li>
<li><p>The <span class="target" id="index-0-manual:cmake-compile-features(7)"></span><a class="reference internal" href="../manual/cmake-compile-features.7.html#manual:cmake-compile-features(7)" title="cmake-compile-features(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">Compile</span> <span class="pre">Features</span></code></a> functionality
is now aware of features supported by Clang compilers on Windows (MinGW).</p></li>
<li><p>When building for embedded Apple platforms like iOS CMake learned to build and
install combined targets which contain both a device and a simulator build.
This behavior can be enabled by setting the <span class="target" id="index-0-prop_tgt:IOS_INSTALL_COMBINED"></span><a class="reference internal" href="../prop_tgt/IOS_INSTALL_COMBINED.html#prop_tgt:IOS_INSTALL_COMBINED" title="IOS_INSTALL_COMBINED"><code class="xref cmake cmake-prop_tgt docutils literal notranslate"><span class="pre">IOS_INSTALL_COMBINED</span></code></a>
target property.</p></li>
</ul>
</div>
<div class="section" id="cpack">
<h3><a class="toc-backref" href="#id10">CPack</a><a class="headerlink" href="#cpack" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>The <span class="target" id="index-0-cpack_gen:CPack DragNDrop Generator"></span><a class="reference internal" href="../cpack_gen/dmg.html#cpack_gen:CPack DragNDrop Generator" title="CPack DragNDrop Generator"><code class="xref cmake cmake-cpack_gen docutils literal notranslate"><span class="pre">CPack</span> <span class="pre">DragNDrop</span> <span class="pre">Generator</span></code></a> learned new variable to
specify AppleScript file run to customize appearance of <code class="docutils literal notranslate"><span class="pre">DragNDrop</span></code>
installer folder, including background image setting using supplied
PNG or multi-resolution TIFF file.
See the <span class="target" id="index-0-variable:CPACK_DMG_DS_STORE_SETUP_SCRIPT"></span><a class="reference internal" href="../cpack_gen/dmg.html#variable:CPACK_DMG_DS_STORE_SETUP_SCRIPT" title="CPACK_DMG_DS_STORE_SETUP_SCRIPT"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_DMG_DS_STORE_SETUP_SCRIPT</span></code></a> and
<span class="target" id="index-0-variable:CPACK_DMG_BACKGROUND_IMAGE"></span><a class="reference internal" href="../cpack_gen/dmg.html#variable:CPACK_DMG_BACKGROUND_IMAGE" title="CPACK_DMG_BACKGROUND_IMAGE"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_DMG_BACKGROUND_IMAGE</span></code></a> variables.</p></li>
<li><p>The <span class="target" id="index-0-cpack_gen:CPack DEB Generator"></span><a class="reference internal" href="../cpack_gen/deb.html#cpack_gen:CPack DEB Generator" title="CPack DEB Generator"><code class="xref cmake cmake-cpack_gen docutils literal notranslate"><span class="pre">CPack</span> <span class="pre">DEB</span> <span class="pre">Generator</span></code></a> learned to set the optional config
file <code class="docutils literal notranslate"><span class="pre">Source</span></code> field using a monolithic or per-component variable.
See <span class="target" id="index-0-variable:CPACK_DEBIAN_PACKAGE_SOURCE"></span><a class="reference internal" href="../cpack_gen/deb.html#variable:CPACK_DEBIAN_PACKAGE_SOURCE" title="CPACK_DEBIAN_PACKAGE_SOURCE"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_DEBIAN_PACKAGE_SOURCE</span></code></a>.</p></li>
<li><p>The <span class="target" id="index-1-cpack_gen:CPack DEB Generator"></span><a class="reference internal" href="../cpack_gen/deb.html#cpack_gen:CPack DEB Generator" title="CPack DEB Generator"><code class="xref cmake cmake-cpack_gen docutils literal notranslate"><span class="pre">CPack</span> <span class="pre">DEB</span> <span class="pre">Generator</span></code></a> learned to set Package, Section
and Priority control fields per-component.
See variables <span class="target" id="index-0-variable:CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_SECTION"></span><a class="reference internal" href="../cpack_gen/deb.html#variable:CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_SECTION" title="CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_SECTION"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_SECTION</span></code></a> and
<span class="target" id="index-0-variable:CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_PRIORITY"></span><a class="reference internal" href="../cpack_gen/deb.html#variable:CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_PRIORITY" title="CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_PRIORITY"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_PRIORITY</span></code></a>.</p></li>
<li><p>The <span class="target" id="index-1-cpack_gen:CPack DragNDrop Generator"></span><a class="reference internal" href="../cpack_gen/dmg.html#cpack_gen:CPack DragNDrop Generator" title="CPack DragNDrop Generator"><code class="xref cmake cmake-cpack_gen docutils literal notranslate"><span class="pre">CPack</span> <span class="pre">DragNDrop</span> <span class="pre">Generator</span></code></a> learned to add
multi-lingual SLAs to a DMG which is presented to the user when they try to
mount the DMG.  See the <span class="target" id="index-0-variable:CPACK_DMG_SLA_LANGUAGES"></span><a class="reference internal" href="../cpack_gen/dmg.html#variable:CPACK_DMG_SLA_LANGUAGES" title="CPACK_DMG_SLA_LANGUAGES"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_DMG_SLA_LANGUAGES</span></code></a> and
<span class="target" id="index-0-variable:CPACK_DMG_SLA_DIR"></span><a class="reference internal" href="../cpack_gen/dmg.html#variable:CPACK_DMG_SLA_DIR" title="CPACK_DMG_SLA_DIR"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_DMG_SLA_DIR</span></code></a> variables for details.</p></li>
<li><p>The <span class="target" id="index-0-cpack_gen:CPack NSIS Generator"></span><a class="reference internal" href="../cpack_gen/nsis.html#cpack_gen:CPack NSIS Generator" title="CPack NSIS Generator"><code class="xref cmake cmake-cpack_gen docutils literal notranslate"><span class="pre">CPack</span> <span class="pre">NSIS</span> <span class="pre">Generator</span></code></a> learned new variables to
add bitmaps to the installer.
See the <span class="target" id="index-0-variable:CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP"></span><a class="reference internal" href="../cpack_gen/nsis.html#variable:CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP" title="CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP</span></code></a>
and <span class="target" id="index-0-variable:CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP"></span><a class="reference internal" href="../cpack_gen/nsis.html#variable:CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP" title="CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP</span></code></a> variables.</p></li>
<li><p>The <span class="target" id="index-0-cpack_gen:CPack RPM Generator"></span><a class="reference internal" href="../cpack_gen/rpm.html#cpack_gen:CPack RPM Generator" title="CPack RPM Generator"><code class="xref cmake cmake-cpack_gen docutils literal notranslate"><span class="pre">CPack</span> <span class="pre">RPM</span> <span class="pre">Generator</span></code></a> learned to set Name and Group
control fields per-component.
See <span class="target" id="index-0-variable:CPACK_RPM_&lt;component&gt;_PACKAGE_NAME"></span><a class="reference internal" href="../cpack_gen/rpm.html#variable:CPACK_RPM_&lt;component&gt;_PACKAGE_NAME" title="CPACK_RPM_&lt;component&gt;_PACKAGE_NAME"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_RPM_&lt;component&gt;_PACKAGE_NAME</span></code></a>
and <span class="target" id="index-0-variable:CPACK_RPM_&lt;component&gt;_PACKAGE_GROUP"></span><a class="reference internal" href="../cpack_gen/rpm.html#variable:CPACK_RPM_&lt;component&gt;_PACKAGE_GROUP" title="CPACK_RPM_&lt;component&gt;_PACKAGE_GROUP"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_RPM_&lt;component&gt;_PACKAGE_GROUP</span></code></a>.</p></li>
</ul>
</div>
<div class="section" id="other">
<h3><a class="toc-backref" href="#id11">Other</a><a class="headerlink" href="#other" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Warnings about deprecated functionality are now enabled by default.
They may be suppressed with <code class="docutils literal notranslate"><span class="pre">-Wno-deprecated</span></code> or by setting the
<span class="target" id="index-1-variable:CMAKE_WARN_DEPRECATED"></span><a class="reference internal" href="../variable/CMAKE_WARN_DEPRECATED.html#variable:CMAKE_WARN_DEPRECATED" title="CMAKE_WARN_DEPRECATED"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CMAKE_WARN_DEPRECATED</span></code></a> variable to false.</p></li>
</ul>
</div>
</div>
<div class="section" id="deprecated-and-removed-features">
<h2><a class="toc-backref" href="#id12">Deprecated and Removed Features</a><a class="headerlink" href="#deprecated-and-removed-features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>The <span class="target" id="index-6-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake(1)</span></code></a> <code class="docutils literal notranslate"><span class="pre">-E</span> <span class="pre">time</span></code> command now properly passes arguments
with spaces or special characters through to the child process.  This
may break scripts that worked around the bug with their own extra
quoting or escaping.</p></li>
<li><p>The <span class="target" id="index-0-generator:Xcode"></span><a class="reference internal" href="../generator/Xcode.html#generator:Xcode" title="Xcode"><code class="xref cmake cmake-generator docutils literal notranslate"><span class="pre">Xcode</span></code></a> generator was fixed to escape backslashes in
strings consistently with other generators.  Projects that previously
worked around the inconsistecy with an extra level of backslashes
conditioned on the Xcode generator must be updated to remove the
workaround for CMake 3.5 and greater.</p></li>
</ul>
</div>
<div class="section" id="other-changes">
<h2><a class="toc-backref" href="#id13">Other Changes</a><a class="headerlink" href="#other-changes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>The <span class="target" id="index-0-generator:Visual Studio 14 2015"></span><a class="reference internal" href="../generator/Visual Studio 14 2015.html#generator:Visual Studio 14 2015" title="Visual Studio 14 2015"><code class="xref cmake cmake-generator docutils literal notranslate"><span class="pre">Visual</span> <span class="pre">Studio</span> <span class="pre">14</span> <span class="pre">2015</span></code></a> generator learned to map the
<code class="docutils literal notranslate"><span class="pre">/debug:fastlink</span></code> linker flag to the <code class="docutils literal notranslate"><span class="pre">.vcxproj</span></code> file property.</p></li>
<li><p>The <span class="target" id="index-1-module:FindGTK2"></span><a class="reference internal" href="../module/FindGTK2.html#module:FindGTK2" title="FindGTK2"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindGTK2</span></code></a> module now configures the <code class="docutils literal notranslate"><span class="pre">GTK2::sigc++</span></code> imported
target to enable c++11 on its dependents when using sigc++ 2.5.1 or higher.</p></li>
<li><p>The precompiled Windows binary provided on <code class="docutils literal notranslate"><span class="pre">cmake.org</span></code> is now a
<code class="docutils literal notranslate"><span class="pre">.msi</span></code> package instead of an installer executable.  One may need
to manually uninstall CMake versions lower than 3.5 before installing
the new package.</p></li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../index.html">Table of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">CMake 3.5 Release Notes</a><ul>
<li><a class="reference internal" href="#new-features">New Features</a><ul>
<li><a class="reference internal" href="#gui">GUI</a></li>
<li><a class="reference internal" href="#command-line">Command-Line</a></li>
<li><a class="reference internal" href="#commands">Commands</a></li>
<li><a class="reference internal" href="#variables">Variables</a></li>
<li><a class="reference internal" href="#properties">Properties</a></li>
<li><a class="reference internal" href="#modules">Modules</a></li>
<li><a class="reference internal" href="#platforms">Platforms</a></li>
<li><a class="reference internal" href="#cpack">CPack</a></li>
<li><a class="reference internal" href="#other">Other</a></li>
</ul>
</li>
<li><a class="reference internal" href="#deprecated-and-removed-features">Deprecated and Removed Features</a></li>
<li><a class="reference internal" href="#other-changes">Other Changes</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="3.6.html"
                        title="previous chapter">CMake 3.6 Release Notes</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="3.4.html"
                        title="next chapter">CMake 3.4 Release Notes</a></p>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="../_sources/release/3.5.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" />
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="3.4.html" title="CMake 3.4 Release Notes"
             >next</a> |</li>
        <li class="right" >
          <a href="3.6.html" title="CMake 3.6 Release Notes"
             >previous</a> |</li>
  <li>
    <img src="../_static/cmake-logo-16.png" alt=""
         style="vertical-align: middle; margin-top: -2px" />
  </li>
  <li>
    <a href="https://cmake.org/">CMake</a> &#187;
  </li>
  <li>
    <a href="../index.html">3.16.5 Documentation</a> &#187;
  </li>

          <li class="nav-item nav-item-1"><a href="index.html" >CMake Release Notes</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2000-2019 Kitware, Inc. and Contributors.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.3.1.
    </div>
  </body>
</html>